<?php

class OceanException extends \RuntimeException {
	private $errorCode;
	function __construct(string $message = null, int $code = 0,Exception $previous = null) {
		parent::__construct ($message, $code ,$previous);
	}
	public function setErrorCode($errorCode) {
		$this->errorCode = $errorCode;
	}
	public function getErrorCode() {
		return $this->errorCode;
	}
}

?>